package cn.service.orderService.OrderServiceImpl;

import cn.service.orderService.OperateService;
import entity.Result;
import mapper.orderMapper.OperateMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 朱颢阳
 * @description
 * @time 2024/8/28 11:21
 */
@Service
public class OperateServiceImpl implements OperateService {
    @Resource
    OperateMapper mapper;

    @Override
    public Result getoperateInfo(Integer id) {
        return  Result.success(200,mapper.selectByPrimaryKey(id));
    }
}
